package com.dyw.ycgovfinance.mvp.news.newsdetail;

import com.dyw.ycgovfinance.bean.NewsDetailBean;
import com.dyw.ycgovfinance.mvp.base.BasePresenter;
import com.dyw.ycgovfinance.mvp.base.BaseView;

/**
 * Created by Administrator on 2017/6/20.
 */

public class NewsDetailContract {

    public interface View extends BaseView<Presenter> {

        void getNewsDetail();

        void onGetNewsDetailSuccess(NewsDetailBean newsDetailBean);

        void onGetNewsDetailError(String tip);
    }

    public interface Presenter extends BasePresenter
    {
        void getNewsDetail(String newsId);

    }
}
